import 'package:flutter/material.dart';

class MicContributionLabel extends StatelessWidget {
  final int contribution;

  const MicContributionLabel({Key? key, required this.contribution})
      : super(key: key);

  @override
  Widget build(BuildContext context) {
    return Container(
      height: 10,
      decoration: BoxDecoration(
        borderRadius: BorderRadius.circular(5),
        gradient: const LinearGradient(
          stops: [0.0008, 0.9993],
          colors: [Color(0xFFFFDD78), Color(0xFFFFDE8A)],
        ),
      ),
      padding: const EdgeInsets.symmetric(horizontal: 4, vertical: 1),
      child: const Text(
        // UserUtils.getContributionStr(contribution),
        'contribution',
        style: TextStyle(
            fontSize: 8,
            fontWeight: FontWeight.w500,
            color: Color(0xFF752F00),
            height: 1),
      ),
    );
  }
}
